package com.bm.api.service;

import com.bm.common.dto.UinfoDto;
import com.bm.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="bm-Server")
public interface MyInfoService {
    @PostMapping("/server/user/selectinfo.do")
    UinfoDto selectAll(@RequestParam Integer uid);
    @PostMapping("/server/user/updateUserInfo.do")
    R updateUserInfo(@RequestBody UinfoDto dto);
}
